//
// Created by liushuai on 18-7-15.
//

#ifndef EX6_TIME_HPP
#define EX6_TIME_HPP


class Time {
private:
    int hours;
    int minuts;
public:
    Time();
    Time(int h,int m=0);
    void addmin(int m);
    void addhour(int h);
    void reset(int h,int m);
    Time operator+(const Time &t) const;
    Time operator-(const Time &t) const;
    Time operator*(const double t) const;
    void show() const;
};


#endif //EX6_TIME_HPP
